| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | // BigBlueButton open source conferencing system - http://www.bigbluebutton.org/. |
||
| 24 | (function() { |
||
| 25 | var protocol = (window.location.protocol === "https:" ? "wss://" : "ws://"); |
||
| 26 | var host = window.GreenLight.WEBSOCKET_HOST || window.location.host + window.GreenLight.RELATIVE_ROOT; |
||
| 27 | var url = protocol + host + '/cable'; |
||
| 28 | |||
| 29 | this.App || (this.App = {}); |
||
| 30 | |||
| 31 | App.cable = ActionCable.createConsumer(url); |
||
|
2 ignored issues
–
show
|
|||
| 32 | }).call(this); |
||
| 33 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.